import QsRequest from '@/service/index';
import type { getTaskListParams, getTaskListResponse } from './model/type';

/**
 * @: 获取任务视图列表
 * @param {getTaskListParams} params
 * @return {*}
 */
export const doGetTaskList = (params: getTaskListParams) => {
    return QsRequest.get<getTaskListResponse>(`/scheduling/task/view/select/page`, { params });
};
